extends "../cex___zahuopu-Hide/item.gd"

var ItemData = preload("./itemData.gd").getCharaData()

func _init():
	._init()

func init():
	.init()
	name = ItemData.NAME
	type = config.EQUITYPE_EQUI
	attInit()
	price = 0
	info = ItemData.INFO_TEXT

func _connect():
	if masCha.id != "cex___zahuopu-Hide":
		yield(sys.get_tree().create_timer(0.05), "timeout")
		masCha.delItem(self)
		return
	Shop.voucher = 0
	yield(sys.get_tree().create_timer(0.05), "timeout")
	sys.main.player.delItem(self)
		